package com.hdsxtech.smsoot_timer.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hdsxtech.smsoot_timer.common.annotation.Write;
import com.hdsxtech.smsoot_timer.entity.TestA;
import com.hdsxtech.smsoot_timer.mapper.TestAMapper;
import com.hdsxtech.smsoot_timer.service.TestAService;
@Service
@Transactional
public class TestAServiceImpl implements TestAService{

	@Autowired
	TestAMapper testAMapper;
	
	@Write
	@Override
	public void save(List<TestA> testaList) {
		 for (TestA testA : testaList) {
			 testAMapper.save(testA);
		}
	}

}
